package com.github.prontera.model.request;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.github.prontera.domain.enums.AppSmsTemplateEnum;

import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.ToString;

@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = { "hibernateLazyInitializer", "handler", "fieldHandler" }, ignoreUnknown = true)
public class VerifCodeRequest extends RestfulRequest {

	private static final long serialVersionUID = -3286520204644035655L;

	@ApiModelProperty(value = "模版名称", example = "0", required = true)
	private AppSmsTemplateEnum template;
	@ApiModelProperty(value = "手机号", example = "0", required = true)
	private String mobile;
	
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public AppSmsTemplateEnum getTemplate() {
		return template;
	}

	public void setTemplate(AppSmsTemplateEnum template) {
		this.template = template;
	}

	public String getMobile() {
		return mobile;
	}

}
